﻿// (c)2010 David Schwarz (david.schwarz@live.com)
// This file is licensed under GNU GPL v2 license, see more at http://www.gnu.org/licenses/gpl-2.0.html
using Microsoft.Xna.Framework.Graphics;
namespace Z2.Core
{

    /// <summary>
    /// Interface represents drawable and updateable object in the game.
    /// </summary>
	public interface IDraw
    {

        #region Methods

        /// <summary>
        /// Updates the object
        /// </summary>
        void Update();
		
        /// <summary>
        /// Draws the object
        /// </summary>
        /// <param name="batch"></param>
        void Draw(SpriteBatch batch);
		
        /// <summary>
        /// Draws the objects light
        /// </summary>
        /// <param name="batch"></param>
        void DrawLight(SpriteBatch batch);

        #endregion

    }
}
